package com.kgc.controller;


import com.kgc.pojo.DeliveryInfo;
import com.kgc.service.PayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;
/**
 * @author  丁云灵
 *
 */
@RestController
public class Damaicontroller {
    @Autowired
    private PayService payService;

    public Object getPayList(){
        List<DeliveryInfo> getList=payService.getPayList();
        return getList;
    }

}
